package com.cheli.managerAsset.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @Classname AsAssetDescription
 * @Description
 * @Date 2021/4/5 19:37
 * @Created by cl
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="AsAssetDescription", description="资产简介")
public class AsAssetDescription implements Serializable {

        private static final long serialVersionUID = 1L;

        @ApiModelProperty(value = "课程ID")
        @TableId(value = "id", type = IdType.INPUT)
        private String id;

        @ApiModelProperty(value = "资产简介")
        private String description;


        @TableField(fill = FieldFill.INSERT)
        @ApiModelProperty(value = "创建时间")
        private Date gmtCreate;

        @TableField(fill = FieldFill.INSERT_UPDATE)
        @ApiModelProperty(value = "更新时间")
        private Date gmtModified;


}
